<!DOCTYPE html>
<html lang="zh">
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/header :: header(~{::title},~{::link},~{})">
    <title>临窗旋墨-留言板</title>
    <link rel="stylesheet" th:href="@{/css/jianshu.css}"/>
    <link rel="stylesheet" th:href="@{/css/style.css}">
    <link rel="stylesheet" th:href="@{/css/comments.css}">
</head>
<body class="body">
<!--导航-->
<div th:replace="common/nav :: nav(true)"></div>
<div class="container-fluid">
    <div class="row">
        <div style="margin-top: 20px;"></div>
        <div class="col-lg-1 col-md-1 col-sm-1">

        </div>

        <div class="col-lg-8 col-md-8 col-sm-8">

            <!--提交评论的form-->
            <div th:replace="common/comment :: commentForm"></div>


            <hr/>
            <!--主评论列表-->
            <div th:replace="common/comment :: commentList"></div>

            <!--页码相关-->
            <div th:replace="common/pager :: pager"></div>
        </div>

        <div th:replace="common/right :: right"></div>

    </div>
</div>
<!-- 引入通用js-->
<div th:replace="common/footer :: footer"></div>
<script th:inline="javascript">
    /*<![CDATA[*/

    var user =/*[[${session.principal}]]*/

        /*]]>*/
</script>
<script th:src="@{/js/comment.js}"></script>
</body>
</html>
